package com.jindi.appuser.domain;

import java.util.Date;

public class Order {
    private Integer id;

    private String uid;

    private String outTradeNo;

    private String totalAmount;

    private Integer payType;

    private Integer payStatus;

    private String aliOrderId;

    private String aliSign;

    private String body;

    private String subject;

    private String userAlipay;

    private String userAliId;

    private Double receiptAmount;

    private Date gmtPayment;

    private Date gmtCreatment;

    public Order(Integer id, String uid, String outTradeNo, String totalAmount, Integer payType, Integer payStatus, String aliOrderId, String aliSign, String body, String subject, String userAlipay, String userAliId, Double receiptAmount, Date gmtPayment, Date gmtCreatment) {
        this.id = id;
        this.uid = uid;
        this.outTradeNo = outTradeNo;
        this.totalAmount = totalAmount;
        this.payType = payType;
        this.payStatus = payStatus;
        this.aliOrderId = aliOrderId;
        this.aliSign = aliSign;
        this.body = body;
        this.subject = subject;
        this.userAlipay = userAlipay;
        this.userAliId = userAliId;
        this.receiptAmount = receiptAmount;
        this.gmtPayment = gmtPayment;
        this.gmtCreatment = gmtCreatment;
    }

    public Order() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo == null ? null : outTradeNo.trim();
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount == null ? null : totalAmount.trim();
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public String getAliOrderId() {
        return aliOrderId;
    }

    public void setAliOrderId(String aliOrderId) {
        this.aliOrderId = aliOrderId == null ? null : aliOrderId.trim();
    }

    public String getAliSign() {
        return aliSign;
    }

    public void setAliSign(String aliSign) {
        this.aliSign = aliSign == null ? null : aliSign.trim();
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body == null ? null : body.trim();
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject == null ? null : subject.trim();
    }

    public String getUserAlipay() {
        return userAlipay;
    }

    public void setUserAlipay(String userAlipay) {
        this.userAlipay = userAlipay == null ? null : userAlipay.trim();
    }

    public String getUserAliId() {
        return userAliId;
    }

    public void setUserAliId(String userAliId) {
        this.userAliId = userAliId == null ? null : userAliId.trim();
    }

    public Double getReceiptAmount() {
        return receiptAmount;
    }

    public void setReceiptAmount(Double receiptAmount) {
        this.receiptAmount = receiptAmount;
    }

    public Date getGmtPayment() {
        return gmtPayment;
    }

    public void setGmtPayment(Date gmtPayment) {
        this.gmtPayment = gmtPayment;
    }

    public Date getGmtCreatment() {
        return gmtCreatment;
    }

    public void setGmtCreatment(Date gmtCreatment) {
        this.gmtCreatment = gmtCreatment;
    }
}